<script type="text/javascript">
<#if errormsg ??>
	$(document).ready(function(){
		alertMsg('${errormsg}');
	});
</#if>
</script>
<div class="tableScrollWrap" >
<table class="table_style_1">
	<thead>
	<tr>
		<th style="width:10px;">&nbsp;</th>
		<th>维度名称</th>
		<th>代码</th>
		<th>维度类型</th>
		<th>创建时间</th>
		<th>汇总名称</th>
		<th class="minSize">操作</th>
	</tr>
	</thead>
		<tbody id="level_tbody">
		
			<#if cube?? && cube.dimension??>
		
	        <#list cube.dimension as dim>
			<tr  onclick="cubeLevelLoad('${dim.id!''}')" id="level_tr_${dim.id!''}" style="cursor: pointer;" class="odd<#if dim_index == 0> cubecur</#if>">
				<td>&nbsp;</td>
				<td>${dim.name!''}</td>
				<td>${dim.code!''}</td>
				<td><#if dim.type?? && dim.type == ''>默认<#else>${dim.type!'默认'}</#if></td>
				<td>${dim.createtime?string('yyyy-MM-dd HH:mm:ss')}</td>
				<td>${dim.allmembername!''}</td>
				<td class="minSize">
				<i class="icon-ctr-1" data-toggle="ajax" id="dimedit" href="/${orgi}/dm/cube/${cube.id}/dimensionedit/${dim.id!''}.html" title="修改维度" data-width="650"></i>
				
				<i class="icon-ctr-2" onclick="art.confirm('您确定要删除此维度吗？' , function(){location.href='/${orgi}/dm/cube/${cube.id}/dimensiondelo/${dim.id!''}.html'} , function(){})"></i>
				</td>
			</tr>
            </#list>
			</#if>
		</tbody>
	</table>
</div>